package com.service.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.dao.model.ProductHrCombo;
import com.service.dao.model.ProductHrComboType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 算力套餐表
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
@Mapper
public interface ProductHrComboMapper extends BaseMapper<ProductHrCombo> {


    List<ProductHrComboType> selectProductHrComboTypeList(@Param("coinName") String coinName);

    void deleteProductHrComboById(Integer typeId);

    void add(@Param("productHrComboType") ProductHrComboType productHrComboType);

    List<ProductHrCombo> page(@Param("comboName") String comboName,
                              @Param("language") String language,
                              @Param("comboType") Integer comboType,
                              @Param("status") Integer status);

    List<ProductHrCombo> pageList(@Param("coinName") String coinName,
                                  @Param("language") String language,
                                  @Param("comboType") Integer comboType,
                                  @Param("status") Integer status);

}
